.class public Lcom/instagram/android/feed/e/g;
.super Ljava/lang/Object;
.source "FeedLocationUtil.java"


# direct methods
.method public static a(Landroid/content/Context;Lcom/instagram/j/l;Lcom/instagram/b/d;)V
    .locals 9
    .parameter
    .parameter
    .parameter

    .prologue
    .line 27
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    .line 28
    sget v1, Lcom/facebook/ax;->dialog_map:I

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v7

    .line 29
    sget v0, Lcom/facebook/aw;->dialog_map_imageview:I

    invoke-virtual {v7, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    move-object v6, v0

    check-cast v6, Lcom/instagram/android/mediacache/IgImageView;

    .line 30
    invoke-virtual {p1}, Lcom/instagram/j/l;->B()Lcom/instagram/venue/model/Venue;

    move-result-object v8

    .line 31
    new-instance v0, Lcom/instagram/android/widget/x;

    invoke-virtual {p1}, Lcom/instagram/j/l;->O()Ljava/lang/Double;

    move-result-object v2

    invoke-virtual {p1}, Lcom/instagram/j/l;->P()Ljava/lang/Double;

    move-result-object v3

    invoke-virtual {v8}, Lcom/instagram/venue/model/Venue;->b()Ljava/lang/String;

    move-result-object v4

    const-string v5, "10"

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/instagram/android/widget/x;-><init>(Landroid/content/Context;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/CharSequence;Ljava/lang/String;)V

    invoke-virtual {v6, v0}, Lcom/instagram/android/mediacache/IgImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 39
    const-string v1, "10"

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v2, Lcom/facebook/au;->map_width_dialog:I

    invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v3, Lcom/facebook/au;->map_height_dialog:I

    invoke-virtual {v0, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v3

    invoke-virtual {p1}, Lcom/instagram/j/l;->O()Ljava/lang/Double;

    move-result-object v4

    invoke-virtual {p1}, Lcom/instagram/j/l;->P()Ljava/lang/Double;

    move-result-object v5

    move-object v0, v8

    invoke-static/range {v0 .. v5}, Lcom/instagram/android/widget/w;->a(Lcom/instagram/venue/model/Venue;Ljava/lang/String;IILjava/lang/Double;Ljava/lang/Double;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v6, v0}, Lcom/instagram/android/mediacache/IgImageView;->setUrl(Ljava/lang/String;)V

    .line 49
    new-instance v0, Lcom/instagram/ui/a/a;

    invoke-direct {v0, p0}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v7}, Lcom/instagram/ui/a/a;->a(Landroid/view/View;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 51
    invoke-static {p1, p2}, Lcom/instagram/android/feed/e/g;->a(Lcom/instagram/j/l;Lcom/instagram/b/d;)V

    .line 52
    return-void
.end method

.method public static a(Landroid/support/v4/app/r;Lcom/instagram/j/l;Lcom/instagram/b/d;)V
    .locals 3
    .parameter
    .parameter
    .parameter

    .prologue
    .line 56
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 57
    const-string v1, "LocationFeedFragment.ARGUMENT_LOCATION_VENUE_ID"

    invoke-virtual {p1}, Lcom/instagram/j/l;->B()Lcom/instagram/venue/model/Venue;

    move-result-object v2

    invoke-virtual {v2}, Lcom/instagram/venue/model/Venue;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 59
    new-instance v1, Lcom/instagram/e/b/a/a;

    invoke-direct {v1, p0}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    new-instance v2, Lcom/instagram/android/fragment/dt;

    invoke-direct {v2}, Lcom/instagram/android/fragment/dt;-><init>()V

    invoke-virtual {v1, v2, v0}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    const-string v1, "media_location"

    invoke-virtual {v0, v1}, Lcom/instagram/e/b/a/a;->e(Ljava/lang/String;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/e/b/a/a;->e()V

    .line 64
    invoke-static {p1, p2}, Lcom/instagram/android/feed/e/g;->a(Lcom/instagram/j/l;Lcom/instagram/b/d;)V

    .line 65
    return-void
.end method

.method private static a(Lcom/instagram/j/l;Lcom/instagram/b/d;)V
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 68
    const-string v0, "location"

    invoke-static {v0, p0, p1}, Lcom/instagram/h/a/c;->a(Ljava/lang/String;Lcom/instagram/j/l;Lcom/instagram/b/d;)V

    .line 69
    return-void
.end method
